﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="PostingBTBElse.aspx.cs" Inherits="MSIACCSL2.Web.Posting.PostingBTBElse" %>

<asp:Content ID="Content2"  ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript">

    $(document).ready(function () {
        $("#txtTgl1").datepick({ dateFormat: 'dd/mm/yy' });
        $("#txtTgl2").datepick({ dateFormat: 'dd/mm/yy' });
     
    });
</script>
<table class="table1" width="100%">
        <thead>
            <tr>
                <th colspan="2"><strong>Posting Terima Lain - lain</strong></th>
            </tr>
        </thead>
        <tbody>  
            <tr>    
                <td >
                    Periode</td>
                <td>
                    <asp:TextBox ID="txtTgl1" runat="server" ClientIDMode="Static" 
                        CssClass="form_input"></asp:TextBox>
                    &nbsp;s/d&nbsp;
                    <asp:TextBox ID="txtTgl2" runat="server" ClientIDMode="Static" 
                        CssClass="form_input"></asp:TextBox>
                &nbsp;<asp:CustomValidator ID="CustomValidator1" runat="server" 
                        ErrorMessage="isi periode dengan format dd-MM-yyyy" ForeColor="Red" 
                        onservervalidate="CustomValidator1_ServerValidate"></asp:CustomValidator>
                </td>
            </tr>
        </tbody>
        <tfoot>
            <tr >
                <td class="style1" align="center" colspan="2">
                    <asp:Button ID="btnShow" runat="server" Text="Show" CssClass="t4d_button" 
                        onclick="btnShow_Click" />                   
                &nbsp;<asp:Button ID="btnCekAll" runat="server" Text="Check All" CssClass="t4d_button" 
                        onclick="btnCekAll_Click" />                   
                &nbsp;<asp:Button ID="btnPosting" runat="server" Text="Posting" CssClass="t4d_button" 
                        onclick="btnPosting_Click" />                   
                &nbsp;<asp:Button ID="btnUnPosting" runat="server" Text="UnPosting" CssClass="t4d_button"  
                        onclick="btnUnPosting_Click" />                   
                </td>
            </tr>
            <tr >
                <td class="style1" align="center" colspan="2">
                    <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                </td>
            </tr>
        </tfoot>
        </table>
        <div align="center">
         <asp:GridView ID="GridView1" runat="server" 
        AutoGenerateColumns="False" ondatabound="GridView1_DataBound" 
        CellPadding="3" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" 
                BorderWidth="1px">
             <Columns>
                 <asp:BoundField DataField="NoBtb" HeaderText="No.Btb" />
                 <asp:BoundField DataField="TglBtb" HeaderText="Tgl.Btb" />
                 <asp:BoundField DataField="Description" HeaderText="Description" />
                 <asp:TemplateField HeaderText="Status">
                     <EditItemTemplate>
                         <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("Status") %>'></asp:TextBox>
                     </EditItemTemplate>
                     <ItemTemplate>
                         <asp:Label ID="lblStatus" runat="server" Text='<%# Bind("Status") %>'></asp:Label>
                     </ItemTemplate>
                 </asp:TemplateField>
                 <asp:TemplateField>
                     <EditItemTemplate>
                         <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                     </EditItemTemplate>
                     <ItemTemplate>
                         <asp:CheckBox ID="chk1" runat="server" />
                     </ItemTemplate>
                 </asp:TemplateField>
             </Columns>
             <FooterStyle BackColor="White" ForeColor="#000066" />
             <HeaderStyle BackColor="#546E96" Font-Bold="True" ForeColor="White" />
             <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
             <RowStyle ForeColor="#000066" />
             <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
             <SortedAscendingCellStyle BackColor="#F1F1F1" />
             <SortedAscendingHeaderStyle BackColor="#007DBB" />
             <SortedDescendingCellStyle BackColor="#CAC9C9" />
             <SortedDescendingHeaderStyle BackColor="#00547E" />
                    </asp:GridView>
        </div>
        
</asp:Content>
